package cn.ucox.web.ms.domain;

import java.util.Date;

/**
 * 存储文件实体类
 *
 * @author chenw
 * @email javacspring@gmail.com
 * @time 2017-02-07 20:51
 */
public class StorageFile {

    private String guid;
    private String fileName;
    private long size;
    private String type;
    private String url;
    private String md5;
    private Date uploadTime;
    private int refNum;

    public StorageFile() {
    }

    public StorageFile(String guid, String fileName, long size, String type, String url, String md5) {
        this.guid = guid;
        this.fileName = fileName;
        this.size = size;
        this.type = type;
        this.url = url;
        this.md5 = md5;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public int getRefNum() {
        return refNum;
    }

    public void setRefNum(int refNum) {
        this.refNum = refNum;
    }
}
